﻿using System.Runtime.CompilerServices;
using Core;
using Core.Base;
using UnityEngine;

namespace Global.Game.Mgr
{
    public class UIMgr : BaseMgr
    {
        private GamePanel _gamePanel;

        public override void OnInit()
        {
            base.OnInit();
            _gamePanel = Object.FindObjectOfType<GamePanel>();
            _gamePanel.OnInit();

            _gamePanel.OnOpen();
        }
    }
}